package com.bgs.service.impl;

import com.bgs.dao.ExamMapper;
import com.bgs.pojo.Exam;
import com.bgs.pojo.ExamB;
import com.bgs.service.ExamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: 梁玉杰
 * @Date: 2021/9/6 08:37
 * @Description: TODO
 */
@Service
public class ExamServiceImpl implements ExamService {

    @Autowired
    private ExamMapper examMapper;


    @Override
    public List<Exam> findAll() {
        return examMapper.findAll();
    }

    @Override
    public List<ExamB> findAllB() {
        return examMapper.findAllB();
    }

    @Override
    public List<Exam> findAll2() {
        return examMapper.findAll2();
    }
}
